import turtle
a = True

turtle.hideturtle()
turtle.left(30)
turtle.fillcolor("gray")
turtle.begin_fill()
turtle.goto(0, -30)
turtle.goto(-100, -30)
turtle.goto(-100, 0)
turtle.goto(0, 0)
turtle.end_fill()
if a:
    turtle.fillcolor("yellow")
else:
    turtle.fillcolor("white")
turtle.begin_fill()
turtle.circle(100, 300)
turtle.end_fill()

turtle.done()